home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / exec / remmemhandler.c < prev    next >
C/C++ Source or Header  |  1996-10-24  |  1KB  |  68 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: remmemhandler.c,v 1.5 1996/10/24 15:50:55 aros Exp $
  4.     $Log: remmemhandler.c,v $
  5.     Revision 1.5  1996/10/24 15:50:55  aros
  6.     Use the official AROS macros over the __AROS versions.
  7.  
  8.     Revision 1.4  1996/08/13 13:56:07  digulla
  9.     Replaced AROS_LA by AROS_LHA
  10.     Replaced some AROS_LH*I by AROS_LH*
  11.     Sorted and added includes
  12.  
  13.     Revision 1.3  1996/08/01 17:41:17  digulla
  14.     Added standard header for all files
  15.  
  16.     Desc:
  17.     Lang: english
  18. */
  19. #include <exec/execbase.h>
  20. #include <aros/libcall.h>
  21.  
  22. /*****************************************************************************
  23.  
  24.     NAME */
  25.     #include <clib/exec_protos.h>
  26.  
  27.     AROS_LH1(void, RemMemHandler,
  28.  
  29. /*  SYNOPSIS */
  30.     AROS_LHA(struct Interrupt *, memHandler, A1),
  31.  
  32. /*  LOCATION */
  33.     struct ExecBase *, SysBase, 130, Exec)
  34.  
  35. /*  FUNCTION
  36.     Remove some function added with AddMemHandler again.
  37.  
  38.     INPUTS
  39.     memHandler - The same Interrupt structure you gave to AddMemHandler().
  40.  
  41.     RESULT
  42.  
  43.     NOTES
  44.  
  45.     EXAMPLE
  46.  
  47.     BUGS
  48.  
  49.     SEE ALSO
  50.  
  51.     INTERNALS
  52.  
  53.     HISTORY
  54.        18-10-95    created by m. fleischer
  55.  
  56. ******************************************************************************/
  57. {
  58.     AROS_LIBFUNC_INIT
  59.  
  60.     /* Protect the low memory handler list */
  61.     Forbid();
  62.     /* Nothing spectacular: Just remove node */
  63.     Remove(&memHandler->is_Node);
  64.     Permit();
  65.     AROS_LIBFUNC_EXIT
  66. } /* RemMemHandler */
  67.  
  68.